package com.dzl.brand.service;

import com.dzl.base.service.BaseService;
import com.dzl.brand.pojo.WelfareBrand;
import com.dzl.brand.pojo.query.WelfareBrandQuery;
import com.dzl.brand.pojo.vo.WelfareBrandVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 品牌信息表(WelfareBrand)表服务接口
 * @author caobucao
 * @since 2021-05-19 09:45:01
 */
public interface WelfareBrandService extends BaseService<WelfareBrand> {

    /**
     * 分页查询品牌信息
     * @date 2021/5/22 10:22
     * @author caobucao
     * @param query  查询条件
     * @return java.util.List<com.dzl.brand.pojo.vo.WelfareBrandVo>
     */
    PageInfo<WelfareBrandVo> selectBrandVoListPage(WelfareBrandQuery query);

    /**
     * 查询所有品牌信息
     * @author liuguanjun
     * @date 2021/5/22 10:22
     */
    List<WelfareBrand> selectAllBrandList();

    /**
     * 逻辑删除品牌
     * @date 2021/5/22 11:44
     * @author caobucao
     * @param welfareBrand  品牌对象
     * @return com.dzl.brand.pojo.vo.WelfareBrandVo
     */
    Integer deleteBrand(WelfareBrand welfareBrand);
}
